package edu.whut.mall.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan(basePackages = {"edu.whut.mall.pojo.mapper","edu.whut.mall.admin.mapper"})
@ComponentScan(basePackages = {"edu.whut.mall.admin","edu.whut.mall.common"})
public class AdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
    }
}
